/*
 * Copyright (C) 2015-2021 Alibaba Group Holding Limited
 */

#include <stdio.h>
#include <stdlib.h>
#include <ulog/ulog.h>
#include <cx_debug.h>
#include "cx_hal.h"

#define TAG "cxinit"


int cx_init(cx_hal_cbs_t *cbs)
{
    CHECK_PARAM(cbs, -1);

    return cx_register_chip_cbs(cbs);
}

int cx_deinit(void)
{
    return cx_unregister_chip_cbs();
}


